#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
struct s
{
	int a ;
	char c ;
	float b ;
	char arr[20];
}s1;
int main()
{
	FILE* pf=fopen("test2.txt", "r");
	if(pf==NULL)
	{
		perror("fopen");
	}


	//fprintf(pf, "%d %c %lf %s", a, c, b, arr);
	fscanf(pf,"%d %c %f %s", &(s1.a), &(s1.c), &(s1.b), s1.arr);
	printf("%d %c %f %s", s1.a, s1.c, s1.b, s1.arr);






	fclose(pf);
	pf = NULL;
	return 0;
	
}